home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
WINWORDS
/
AMI_MCRO.ZIP
/
CLIPSHOW.SMM
< prev
next >
Wrap
INI File
|
1993-12-08
|
5KB
|
331 lines
[ver]
4
[sty]
_macro.sty
[files]
[charset]
82
ANSI (Windows, IBM CP 1252)
[revisions]
0
[prn]
PostScript Printer
[port]
LPT1:
[lang]
1
[desc]
Show the contents of the Windows Clipboard.
Lotus WPD Marketing
Beginner
Exec, AppMinimize
755411688
12
681240805
17
2
217
1518
4
6
0
[fopts]
0
1
0
0
[lnopts]
2
Body Text
1
[docopts]
5
2
[GramStyle]
[l1]
0
[pg]
2
46 0 0 0 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
73 0 0 1025 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
[edoc]
<:#288,9360>Macro by <+!>Charlie Pappas<-!>
<:#288,9360>Editted by <+!>Mike Jones<-!>
<:#276,9360>
<:#276,9360>function execsuite()
<:#276,9360>app = "clipbrd.exe"
<:#276,9360>appname = "Windows Clipboard"
<:#276,9360>defdir = "c:\windows"
<:#276,9360>ignorekeyboard(1)
<:#276,9360>declare missouri(xapp)
<:#276,9360>declare getprofile(xappname)
<:#276,9360>declare writeprofile(path, xappname)
<:#276,9360>declare tryit(path, xapp)
<:#276,9360>defstr path;
<:#276,9360>
<:#276,9360>if appisrunning(appname)
<:#276,9360> activateapp(appname)
<:#276,9360> apprestore(appname)
<:#276,9360> return 1
<:#276,9360>endif
<:#276,9360>if 0 = doschdir(defdir)
<:#276,9360> if tryit("", app) <;> 31
<:#276,9360> return 1
<:#276,9360> endif
<:#276,9360>endif
<:#276,9360>if tryit(getprofile(appname), app) <;> 31
<:#276,9360> return 1
<:#276,9360>endif
<:#276,9360>again:
<:#276,9360>if assign(&path, missouri(app)) <<<;> 0
<:#276,9360> if tryit(path, app) <;> 31
<:#276,9360> writeprofile(path, appname)
<:#276,9360> else
<:#276,9360> goto again
<:#276,9360> endif
<:#276,9360>endif
<:#276,9360>end function
<:#276,9360>
<:#276,9360>function tryit(path, app)
<:#276,9360>doschdir(path)
<:#276,9360>return exec(strcat$(path, app), "")
<:#276,9360>end function
<:#276,9360>
<:#276,9360>function writeprofile(path, appname)
<:#276,9360>writeprofilestring("LotusApps", appname, path, "amipro.ini")
<:#276,9360>end function
<:#276,9360>
<:#276,9360>function getprofile(appname)
<:#276,9360>return getprofilestring$("LotusApps", appname, "amipro.ini")
<:#276,9360>end function
<:#276,9360>
<:#276,9360>function missouri(app)
<:#276,9360>defstr box;
<:#276,9360>filledit(9001, "*.exe")
<:#276,9360>filledit(8007, app)
<:#276,9360>if assign(&box, dialogbox(".", "findapp")) <<<;> 1
<:#276,9360> return 0
<:#276,9360>endif
<:#276,9360>return getcurrentdir$()
<:#276,9360>end function
<:#276,9360>
<:#276,9360>
<:#276,9360>DIALOG findapp
<:#276,9360>-2134376448 7 70 35 200 97 "" "" "Find Application"
<:#276,9360>FON<:f,BArial,>T 14 "IQ Edwardian Pos"
<:#276,9360><:f,BArial,>7 34 59 8 1000 1342177280 "static" "&Program path:" 0
<:#276,9360><:f,BArial,>6 45 60 44 9001 1352728579 "list<:f>box" "" 0
<:#276,9360>155 5 40 14 1 1342373889 "button" "OK" 0
<:#276,9360>155 21 40 14 2 1342373888 "button" "Cancel" 0
<:#276,9360>68 34 80 8 7999 1342177280 "static" "" 0
<:#276,9360>7 6 142 9 1006 1342177280 "static" "Change into the directory that contains" 0
<:#276,9360>7 16 107 8 8007 1342177280 "static" "" 0
<:#276,9360>END DIALOG
<:#276,9360>
>
[Embedded]
00003406
>
[macsum] 6
execsuite 0 0 5 3
tryit 532 2 1 37
writeprofile 613 2 1 42
getprofile 686 1 1 46
missouri 762 1 2 50
findapp 919 0 -1 61
[macse]
14 execsuite
7 "clipbrd.exe"
8 1
7 "Windows Clipboard"
8 2
7 "c:\windows"
8 3
0 32 1
0 1032 "{2}"
13
11 00000162
0 38 "{2}"
0 1031 "{2}"
5 1
15
9
5 0
0 781 "{3}"
13
18 0
11 00000263
16 tryit "" "{1}"
13
5 31
18 3
11 00000263
5 1
15
9
16 getprofile "{2}"
13
16 tryit [X] "{1}"
13
5 31
18 3
11 00000349
5 1
15
9
16 missouri "{1}"
13
0 805 &4 [X]
13
5 0
18 1
11 00000520
16 tryit "{4}" "{1}"
13
5 31
18 3
11 00000507
16 writeprofile "{4}" "{2}"
10 00000520
10 00000349
6 0
15
9
14 tryit
0 781 "{0}"
0 16 "{0}" "{1}"
13
0 22 [X] ""
13
15
9
6 2
15
9
14 writeprofile
0 287 "LotusApps" "{1}" "{0}" "amipro.ini"
6 2
15
9
14 getprofile
0 286 "LotusApps" "{0}" "amipro.ini"
13
15
9
6 1
15
9
14 missouri
0 31 9001 "*.exe"
0 31 8007 "{0}"
0 26 "." "findapp"
13
0 805 &2 [X]
13
5 1
18 1
11 00000127
5 0
15
9
0 290
13
15
9
6 1
15
9
DIALOG findapp
-2134376448 7 70 35 200 97 "" "" "Find Application"
FONT 14 "IQ Edwardian Pos"
7 34 59 8 1000 1342177280 "static" "&Program path:" 0
6 45 60 44 9001 1352728579 "listbox" "" 0
155 5 40 14 1 1342373889 "button" "OK" 0
155 21 40 14 2 1342373888 "button" "Cancel" 0
68 34 80 8 7999 1342177280 "static" "" 0
7 6 142 9 1006 1342177280 "static" "Change into the directory that contains" 0
7 16 107 8 8007 1342177280 "static" "" 0
00003431